package com.ruoyi.caipiao.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 排列5计算对象 caipiao_pl5
 *
 * @author ruoyi
 * @date 2025-03-01
 */
public class CaipiaoPl5 extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 期数 */
    @Excel(name = "期数")
    private String qs;

    /** 位置（0，1，2，3，4） */
    @Excel(name = "位置", readConverterExp = "0=，1，2，3，4")
    private Long position;

    /** 方法（0，1，2，3，4...) */
    @Excel(name = "方法", readConverterExp = "方法（0，1，2，3，4...)")
    private Long method;

    /** 预测号码 */
    @Excel(name = "预测号码")
    private String ycNum;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setQs(String qs)
    {
        this.qs = qs;
    }

    public String getQs()
    {
        return qs;
    }
    public void setPosition(Long position)
    {
        this.position = position;
    }

    public Long getPosition()
    {
        return position;
    }
    public void setMethod(Long method)
    {
        this.method = method;
    }

    public Long getMethod()
    {
        return method;
    }
    public void setYcNum(String ycNum)
    {
        this.ycNum = ycNum;
    }

    public String getYcNum()
    {
        return ycNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("qs", getQs())
            .append("position", getPosition())
            .append("method", getMethod())
            .append("ycNum", getYcNum())
            .append("createTime", getCreateTime())
            .toString();
    }
}
